package org.scub.foundation.fournisseur.egicom.core.dto;

import java.io.Serializable;


import net.sf.oval.constraint.NotBlank;
import net.sf.oval.constraint.NotNull;

import org.scub.foundation.framework.base.dto.AbstractDto;

/**
 * DTO contenant les informations d'un compte.
 * @author Equipe E-GICOM
 */
public class CompteDto extends AbstractDto implements Serializable {

    private static final long serialVersionUID = 7728546857440718715L;

    @NotNull
    @NotBlank
    private String login;

    @NotNull
    @NotBlank
    private String password;

    /**
     * Get the value of login.
     * @return the login
     */
    public String getLogin() {
        return login;
    }

    /**
     * Set the value of login.
     * @param login the login to set
     */
    public void setLogin(String login) {
        this.login = login;
    }

    /**
     * Get the value of password.
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * Set the value of password.
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }
}
